﻿using System;

namespace Matrix.MaKaYunShang.Model
{
	/// <summary>
	///扫码记录表
	/// </summary>
	public class ScanEvent
	{
		#region 默认属性
      	/// <summary>
		/// 扫描ID
        /// </summary>		
        public int Id { get; set; }        
		/// <summary>
		/// 扫描日期
        /// </summary>		
        public DateTime ScanTime { get; set; }        
		/// <summary>
		/// 扫描用户ConsumerId
        /// </summary>		
        public int ConsumerId { get; set; }        
		/// <summary>
		/// 扫描来源：0固定二维码 1可变二维码 2收银条二维码
        /// </summary>		
        public int ScanSource { get; set; }        
		/// <summary>
		/// 店铺ID
        /// </summary>		
        public int ShopId { get; set; }        
		/// <summary>
		/// 扫描二维码内容
        /// </summary>		
        public string ScanQrContent { get; set; }        
		/// <summary>
		/// 扫描经度
        /// </summary>		
        public string Longitude { get; set; }        
		/// <summary>
		/// 扫描时维度
        /// </summary>		
        public string Latitude { get; set; }        
		/// <summary>
		/// 扫描时所属地区ID
        /// </summary>		
        public int ScanAreaId { get; set; }        
		/// <summary>
		/// UserId
        /// </summary>		
        public int UserId { get; set; }        
		/// <summary>
		/// 失效扫码时间
        /// </summary>		
        public DateTime FailScanTime { get; set; }        
		/// <summary>
		/// 是否领取卡劵
        /// </summary>		
        public bool IsReceive { get; set; }        
		/// <summary>
		/// Ip
        /// </summary>		
        public string Ip { get; set; }        
		/// <summary>
		/// 地址反查结果
        /// </summary>		
        public string Address { get; set; }        
		/// <summary>
		/// 是否已删除（True已删除，False未删除）
        /// </summary>		
        public bool IsDelete { get; set; }        
				#endregion
		
		#region 扩展属性
		#endregion
	}
}